package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.ChangePhoneBiz;
import ui.activity.mine.contract.ChangePhoneContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ChangePhoneModule {
    private ChangePhoneContract.View view;

    public ChangePhoneModule(ChangePhoneContract.View view) {
        this.view = view;
    }

    @Provides
    public ChangePhoneContract.View provideView() {
        return view;
    }

    @Provides
    public ChangePhoneBiz provideBiz() {
        return new ChangePhoneBiz();
    }
}